/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ch01;

/**
 *
 * @author Administrator
 */
public class Hello {
    public static void main(String args[]){
    int a=10;
    int b=20;
    int sum=a+b;
    System.out.println("sum="+sum);
    System.out.printf("%d\n",sum);
    System.out.printf("%.2f\n",456.678);
    byte b1=100;
    boolean b2=true;
    boolean b3=false;
    boolean b4=5>3;//true
    boolean b5=5>3&&3>4;//false
    char c1='a';
    char c2=97;
    char c3='你';//4f60
    
    
    
    
   }
}
